/* Contact page styles */

/* Navigation consistency */
header {
    margin-bottom: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}

nav {
    background-color: #201e1f;
    padding: 10px 20px;
    position: relative;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    max-height: 70px;
    overflow: visible;
    position: relative;
    z-index: 10;
}

.logo {
    height: 60px;
    width: auto;
    margin-right: 15px;
    border-radius: 0;
    object-fit: contain;
    display: block;
    background-color: transparent;
    padding: 0;
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: flex-end;
    margin-left: auto;
}

nav li {
    margin: 0 20px;
}

nav a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: bold;
    display: block;
    padding: 10px 5px;
}

nav a:hover {
    color: #ffd700;
    transition: color 0.3s ease;
}

nav a.active {
    color: #ffd700;
}

/* Logo link styling */
.logo-link {
    display: block;
    text-decoration: none;
}

/* Ensure navigation elements are properly positioned */
nav ul {
    margin: 0;
    padding: 0;
}

nav li {
    list-style: none;
}

/* Mobile navigation styles */
.hamburger-menu {
    display: none;
}

.hamburger-icon {
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    color: #FFFFFF;
}

@media screen and (max-width: 768px) {
    nav {
        justify-content: space-between;
        padding: 10px 0;
        width: 100%;
    }
    
    .logo-container {
        width: auto;
        margin-bottom: 0;
        padding-left: 15px;
    }
    
    .hamburger-menu {
        display: block;
        padding-right: 15px;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
        margin-top: 10px;
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    nav li {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }
    
    nav a {
        padding: 10px;
        border-bottom: 1px solid #F2F2F2;
    }
}

/* Banner section */
.contact-banner {
    background-color: #201e1f;
    color: white;
    text-align: center;
    padding: 50px 0;
    margin-top: 0;
    margin-bottom: 40px;
}

.contact-banner h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    margin: 0;
    font-weight: 600;
    color: #ffd700;
}

.contact-banner p {
    color: #ffd700;
}

/* Main contact container */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding: 20px 0;
    background-color: #f0ebe5;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/* Contact info section */
.contact-info {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    color: #000;
    text-align: center;
}

.contact-info h2 {
    margin-bottom: 20px;
    color: #000;
    font-weight: bold;
}

.contact-info p {
    margin: 5px 0;
    line-height: 1.6;
}

.contact-info a {
    color: #000;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Company logo in info section */
.company-logo {
    margin-top: 40px;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.company-logo img {
    width: 100%;
    height: auto;
}

/* Logo link styling */
.logo-container a {
    text-decoration: none;
    display: block;
}

/* Contact form section */
.contact-form {
    flex: 1.5;
    min-width: 300px;
    padding: 20px;
    text-align: left;
}

/* Form styles */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
    text-align: left;
}

.form-group.half {
    flex: 0 0 50%;
    padding: 0 10px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1F3A93;
    box-shadow: 0 0 0 2px rgba(31, 58, 147, 0.2);
}

/* Error state styling */
.form-group input.error,
.form-group textarea.error {
    border-color: #ff3b30;
    background-color: rgba(255, 59, 48, 0.05);
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    box-shadow: 0 0 0 2px rgba(255, 59, 48, 0.2);
}

.form-group.checkbox input.error + label {
    color: #ff3b30;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* File upload styling */
.form-group input[type="file"] {
    padding: 8px 0;
    border: none;
    background-color: transparent;
}

.file-hint {
    margin-top: 5px;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* Checkbox styling */
.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    text-align: left;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 3px;
}

.form-group.checkbox label {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: normal;
    text-align: left;
}

/* Data protection link */
.data-protection {
    color: #1F3A93;
    text-decoration: underline;
}

/* Submit button */
.submit-btn {
    background-color: #ffd700;
    color: #000;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    border-radius: 4px;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #e6c300;
}

/* International Telephone Input Styling */
.iti {
    width: 100%;
}

.iti__flag {
    background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .iti__flag {
        background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/img/flags@2x.png");
    }
}

.validation-message {
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
}

.validation-message.valid {
    color: #1F3A93;
}

.validation-message.error {
    color: #ff3b30;
}

.hide {
    display: none;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }
    
    .form-group.half {
        flex: 0 0 100%;
    }
    
    .contact-banner h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 480px) {
    .contact-banner h1 {
        font-size: 2rem;
    }
    
    .contact-info, .contact-form {
        padding: 15px;
    }
}
